// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Engine/StaticMeshActor.h"
#include "MyStaticMeshActor.generated.h"

/**
 * 
 */
UCLASS()
class MYPROJECT2_API AMyStaticMeshActor : public AStaticMeshActor
{
	GENERATED_BODY()

protected:
	bool bIsScaling;
	FVector TargetScale;
	float ScaleSpeed;
	int BlockScaleFactor;
	float BlockScale_flip;
	
public:

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Hit Tracking")
	int32 HitCount;

	UPROPERTY(BlueprintReadWrite, Category = "Game Rules")
	bool isImportTargets;

	AMyStaticMeshActor();

	void OnHit();

	virtual void Tick(float DeltaTime) override;
	
};
